home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / others / nonlin25.zip / SQUARE.NLR < prev    next >
Text File  |  1992-05-26  |  841b  |  58 lines

  1. Title Fit Sine Series to Square Wave
  2. Register
  3. Variables x,y
  4. Parameters p0,p1,p3,p5,p7
  5. Function y = p0 + p1*sin(x) + p3*sin(3*x) + p5*sin(5*x) + p7*sin(7*x)
  6. Plot
  7. Data
  8. 0   1
  9. 0.384684   1
  10. 0.769369   1
  11. 1.15405   1
  12. 1.53874   1
  13. 1.92342   1
  14. 2.30811   1
  15. 2.69279   1
  16. 3.07748   1
  17. 3.46216   -1
  18. 3.84684   -1
  19. 4.23153   -1
  20. 4.61621   -1
  21. 5.0009   -1
  22. 5.38558   -1
  23. 5.77027   -1
  24. 6.15495   -1
  25. 6.53964   1
  26. 6.92432   1
  27. 7.30901   1
  28. 7.69369   1
  29. 8.07837   1
  30. 8.46306   1
  31. 8.84774   1
  32. 9.23243   1
  33. 9.61711   -1
  34. 10.0018   -1
  35. 10.3865   -1
  36. 10.7712   -1
  37. 11.1559   -1
  38. 11.5405   -1
  39. 11.9252   -1
  40. 12.3099   -1
  41. 12.6946   1
  42. 13.0793   1
  43. 13.464   1
  44. 13.8486   1
  45. 14.2333   1
  46. 14.618   1
  47. 15.0027   1
  48. 15.3874   1
  49. 15.7721   -1
  50. 16.1567   -1
  51. 16.5414   -1
  52. 16.9261   -1
  53. 17.3108   -1
  54. 17.6955   -1
  55. 18.0802   -1
  56. 18.4649   -1
  57. 18.8495   -1
  58.